home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / gs241j11.zip / LHAGS < prev    next >
Text File  |  1992-05-08  |  489b  |  25 lines

  1. #!/bin/sh
  2.  
  3. if [ $# != 1 ]; then
  4.     echo "usage: lhags archive_file"
  5.     exit 1
  6. fi
  7.  
  8. FILES=
  9. for f in *
  10. do
  11. case $f in
  12. # Files to be removed with `make clean'
  13. *.o | *.obj | *.a | core | gmon.out | *.dev | gconfig.h | obj*.tr | lib*.tr | \
  14. _temp_* | _temp_*.* | *.map | *.sym | ansi2knr | ansi2knr.exe | \
  15. genarch | genarch.exe | uniq | uniq.exe | arch.h | gs | gs.exe)
  16. ;;
  17. Makefile | *.orig | *.bak | *~ | \#*\# | *.part?? | *.tar | *.Z | *.lzh)
  18. ;;
  19. * )
  20. FILES="$FILES $f"
  21. esac
  22. done
  23.  
  24. lha at $1 $FILES
  25.